<?php
//Vilve Roosioks, PHP ja MySql, 02.11.2011

echo "<b>Korrutustabel</b><br>";
echo "<table border=1>";
for ($i = 1; $i <= 10; $i++)
{
    echo "<tr>";
    
    for ($j = 1; $j <= 10; $j++)
    {
        echo "<td>" .$i*$j. "</td>";
    }
    
    echo "</tr>";
}
echo "</table>"; 

?>

